package cn.tedu.tedutest02202.ex;

import cn.tedu.tedutest02202.web.ServiceCode;
import lombok.Data;

@Data
public class ServiceException extends RuntimeException{
    private ServiceCode serviceCode;
    public ServiceException(ServiceCode serviceCode , String message){
        super(message);
        this.serviceCode = serviceCode;
    }
}
